package com.ruoyi.water.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 单条表具数据DTO（对应文档4.3返回的Data列表元素）
 */
@Data
@Schema(name = "WaterMeterDataDTO", description = "单条表具抄表数据")
public class WaterMeterDataDTO {

    @Schema(description = "表具ID", example = "1")
    private Integer meterId;

    @Schema(description = "数据类型（0=电量，1=水量）", example = "0")
    private Integer meterDataType;

    @Schema(description = "数据时间", example = "2024-09-12 22:15:00")
    private String time;

    @Schema(description = "数值时间（数据采集时间）", example = "2024-09-12 22:15:00")
    private String valueTime;

    @Schema(description = "数据来源（1=采集，其他值需参考平台定义）", example = "1")
    private Integer dataFrom;

    @Schema(description = "表码（实际读数，保留2位小数）", example = "4556.61")
    private Double zvalue;

    @Schema(description = "累计示数（表码×倍率，整数）", example = "455661")
    private Long zvalueZY;
}
